import axios from '@/utils/request';

export function getSysSingleLeaveTypeList(params) {
    return axios.post({
        url: '/sys-single-leave-type/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editSysSingleLeaveType(params) {
    return axios.post({
        url: '/sys-single-leave-type/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteSysSingleLeaveType(params) {
    return axios.post({
        url: '/sys-single-leave-type/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadSysSingleLeaveType(params) {
    return axios.post({
        url: '/sys-single-leave-type/load',
        data: params
    }).then((res) => {
        return res
    })
}

